% Simulink.importExternalCTypes('../CustomCode/SysIdParamLoading.h')
%%
clear
clc
%%
data = [
1461
4083
10636
12929
808
3756
6375
8671
];

zero_offset = zeros(length(data),0);
for i=1:1:length(data)
    zero_offset(i) = mod(data(i),327.68);
end
zero_offset
scatter([1:1:length(data)], zero_offset)
disp(["max: " max(zero_offset)])
disp(["min: " min(zero_offset)])
disp(["err: " max(zero_offset)-min(zero_offset)])
disp(["mean: " mean(zero_offset)])